package de.sendorian.app.forumArchive.repository;

import org.springframework.stereotype.Repository;

import de.sendorian.app.forumArchive.domain.Forum;
import de.sendorian.db.RepositoryBase;


@Repository
public class ForumRepository extends RepositoryBase<Forum> {

    public ForumRepository() {
        super(Forum.class);
    }


    public Forum findByName(String name) {
        return findByUniqueAttribute("name", name);
    }
}
